class AddColumnInMusic < ActiveRecord::Migration
  def self.up
       add_column :musics , :name ,:string
       add_column :musics ,:description , :string
       add_column :musics ,:content_id,  :integer 
       add_column :musics ,:filename, :string   
       add_column :musics ,:size, :integer 
       add_column :musics ,:width, :integer 
       add_column :musics ,:height, :integer 
  end

  def self.down
     remove_column :musics , :name
      remove_column :musics ,:description
      remove_column :musics ,:content_id
      remove_column :musics ,:filename
      remove_column :musics ,:size
      remove_column :musics ,:width
      remove_column :musics ,:height
   end
 end
